<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>对象</title>
	</head>
	<body>
		<script>
			//混合方式创建对象：构造函数加属性，原型方法
			function Student(id,name){
				this.id=id;
				this.name=name;
			}
			Student.prototype.study=function
		</script>
	</body>
</html>
